package com.dhwl.hsh.driver.ui.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.ScrollView;
import android.widget.TextView;

import com.dhwl.hsh.driver.R;
import com.dhwl.hsh.driver.view.ScrollViewWithListView;

import butterknife.Bind;
import butterknife.OnClick;

/**
 * 长期任务详情
 *
 * @author Derek.Kidd
 * @time 2016/5/3 15:15
 */
public class TaskDetailActivity extends BaseActivity {

    @Bind(R.id.topbar_left_img)
    ImageView topbarLeftImg;
    @Bind(R.id.topbar_title_tv)
    TextView topbarTitleTv;
    @Bind(R.id.topbar_right_tv)
    TextView topbarRightTv;
    @Bind(R.id.tv_task_num)
    TextView tvTaskNum;
    @Bind(R.id.tv_task_time)
    TextView tvTaskTime;
    @Bind(R.id.tv_task_truck_type)
    TextView tvTaskTruckType;
    @Bind(R.id.tv_task_mileage)
    TextView tvTaskMileage;
    @Bind(R.id.icon_start_shipping)
    ImageView iconStartShipping;
    @Bind(R.id.img_task_detail_call)
    ImageView imgTaskDetailCall;
    @Bind(R.id.icon_end_shipping)
    ImageView iconEndShipping;
    @Bind(R.id.btn_need_carry)
    Button btnNeedCarry;
    @Bind(R.id.btn_need_receipt)
    Button btnNeedReceipt;
    @Bind(R.id.btn_need_remittance)
    Button btnNeedRemittance;
    @Bind(R.id.listView_history)
    ScrollViewWithListView listViewHistory;
    @Bind(R.id.scrollView_content)
    ScrollView scrollViewContent;
    @Bind(R.id.btn_cancel_task)
    Button btnCancelTask;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    @Override
    protected int getLayoutId() {
        return R.layout.activity_task_detail;
    }

    @Override
    protected void initViews(Bundle savedInstanceState) {
        setTitleContent("任务详情");
    }

    @Override
    protected void initData() {

    }

    @OnClick({R.id.btn_need_carry, R.id.btn_need_receipt, R.id.btn_need_remittance, R.id.btn_cancel_task})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.btn_need_carry:
                break;
            case R.id.btn_need_receipt:
                break;
            case R.id.btn_need_remittance:
                break;
            case R.id.btn_cancel_task:
                break;
        }
    }
}
